package com.cmsky.open.user.dao;

import com.cmsky.open.core.base.*;
import com.cmsky.open.user.model.*;
import com.cmsky.open.user.vo.query.*;

/**
 * @author jandyfish email:jandyfish(a)gmail.com
 * @version 1.0
 * @since 1.0
 */


import org.springframework.stereotype.Repository;


@Repository
public class UserInfoDao extends BaseIbatis3Dao<UserInfo,java.lang.Integer>{
	
	@Override
	public String getIbatisMapperNamesapce() {
		return "UserInfo";
	}
	
	public BasePager findPage(UserInfoQuery query) {
		return pageQuery("UserInfo.findPage",query);
	}
	
	public int updatePass(UserInfoQuery query){
		return this.getSqlSessionTemplate().update("UserInfo.updatePasswd", query);
	}
}
